<?php
//命名空间
namespace inc;

//声明类
use const PHP_VERSION;

class phpinfo {
    public static function version(): string {
        return PHP_VERSION;
    }
}